public DOTDamage(MyCharacterController target, int damage, bool isdeadly, CauseOfDeathBasis cod) : base(null, target) { Damage = damage; IsDeadly = isdeadly; COD = cod; }
public PlayerScore(PlayerParameter param, DungeonInformation dginfo, CauseOfDeathBasis cod) { PlayerParameter = param; DgInfo = dginfo; TotalScore = calcScore(); EquipingNames = getEquiping(); TotalTurn = dginfo.CurrentTotalTurnCount; COD = cod; }
private void callDead(CauseOfDeathBasis cod) { var awakeitems = Parameter.Inventory.findAwakeEffectItems(false); foreach (IAwakeningEffectFromInventoryItem item in awakeitems) { item.whenDead(this); } if (isDead) { Debug.Log("しにましたー"); GameController.GameActionEvent.playerisDead(this, GameController.DungeonInformation, cod); } }
private void Dummy(CauseOfDeathBasis cod) { }
public void playerisDead(PlayerController player, DungeonInformation dginfo, CauseOfDeathBasis cod) { var score = new PlayerScore(player.Parameter, dginfo, cod); PlayerIsDead(cod); GameController.loadDungeonResult(score); player.Parameter.reset(true); }
public FixDamage(MyCharacterController attacker, MyCharacterController target,int damage,CauseOfDeathBasis cod) : base(attacker,target) { Damage = damage; COD = cod; }