Initialize local project and fix ranch growth synchronization

This commit is contained in:
AttilaNet
2026-11-07 22:14:49 +08:00
commit 657f5f33b5
1417 changed files with 202171 additions and 0 deletions
@@ -0,0 +1,39 @@
package net.pixvi.myr.center
{
import net.pixvi.common.center.SoundCenter;
import net.pixvi.myr.battle.view.BattleMonBuff;
import net.pixvi.myr.element.snd.GameSound;
import net.pixvi.pfw.utils.core.Singleton;
public class BuffCenter extends Singleton
{
public function BuffCenter()
{
super();
}
public static function makeIns() : BuffCenter
{
return Singleton.getInstanceOrCreate(Singleton);
}
public static function getStunMovByType(buff:BattleMonBuff, stunType:int, time:int) : void
{
switch(stunType - 1)
{
case 0:
buff.addBuffMov("mov.BuffStun","stun",time * 1000,1,24,1,0,0,true);
break;
case 1:
SoundCenter.getIns().play(GameSound.effect_skill_icehit);
buff.addBuffMov("mov.BuffIce","ice",time * 1000,1.4,20,0,0,0,true,true);
}
}
public static function getPoiMovByType(buff:BattleMonBuff, atkStunType:int, atkStunTime:int) : void
{
}
}
}