mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 00:14:30 +08:00
feat: 同化属性
This commit is contained in:
1 parent
0a9ace7ab2
commit
b9ae439cd9
12 files changed
+89
-16
No files matched your search
@@ -27,6 +27,7 @@ const MAX_ROTATE = 0.5;
|
||||
const FRAG_TIMING = linear();
|
||||
|
||||
export function init() {
|
||||
return;
|
||||
Mota.rewrite(core.events, 'afterBattle', 'add', (_, enemy, x, y) => {
|
||||
// 打怪特效
|
||||
const setting = Mota.require('var', 'mainSetting');
|
||||
|
||||
@@ -47,7 +47,8 @@ const haloColor: Record<number, string[]> = {
|
||||
26: ['blue'],
|
||||
27: ['red'],
|
||||
31: ['#3CFF49'],
|
||||
29: ['#51E9FF']
|
||||
29: ['#51E9FF'],
|
||||
32: ['#fff966']
|
||||
};
|
||||
|
||||
class Halo extends Sprite {
|
||||
|
||||
@@ -51,6 +51,7 @@ export {};
|
||||
else core.setWeather();
|
||||
}
|
||||
core.status.maps[data].enemy?.extract();
|
||||
core.status.maps[data].enemy?.calRealAttribute();
|
||||
core.updateStatusBar(true, true);
|
||||
}
|
||||
Mota.require('module', 'Shadow').Shadow.update(true);
|
||||
|
||||
Reference in new issue
Block a user