Transaction

b34d8d3b8987a6fe1489b691d9f81b454b891032174e26a83437b20dc927aa1f
( - )
204,766
2021-01-13 05:36:11
1
2,516 B

3 Outputs

Total Output:
  • jrun cryptofightsMÏ{"in":0,"ref":["fe51df7a52d15b7ca973d26e152c99a15ac0999c564cc02069e911c2de172645_o1","8e5d26176cc5ce4f2734e2fb8abb6da01237f5c1736839adf8a82659ecbe85d6_o1","0e660dbbccc19c47e388dbd07832821da0083f020eced33c3f49d195df5427bc_o1","507b9cffbeb94c2386e054f3d63617f7b091e0bdb1619a99c3cd04e309be45f3_o1"],"out":["fbcdeea87067e4e09b075ad78d4ff930f3df1cc03c27cca4f3dd7530c012fc61"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Chill extends KronoClass {\n static run(battle, state, dice, ts) {\n const {Ability, DamageType, SkillType} = Constants;\n const defenderPlayer = battle.battlePlayers[state.playerToAct ? 0 : 1];\n\n let opponentName = BattleUtils.getOpponentName(battle, state);\n var playerName = BattleUtils.getPrettifiedPlayerName(battle, state);\n \n let log = `${playerName} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Chill)}\">${BattleUtils.parseSkillName(SkillType.Chill)}\\n<gradient=!log-color> `;\n\n let attackActionLog = {\n actionLogMessage: log\n };\n attackActionLog.playerIndex = state.playerToAct;\n attackActionLog.skillType = SkillType.Chill;\n attackActionLog.results = [];\n\n let resultMessage = `${playerName} spell attacks ${opponentName} : `; // goes up\n var result = Attack.makeResult(battle, state, dice, Ability.Intelligence, Ability.Intelligence, 0, 0, 0, DamageType.Cold, 1, 4, defenderPlayer, resultMessage, SkillType.Chill);\n\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n\n Attack.processPostAttackStatus(state, battle, state.fighterStates[state.playerToAct], state.fighterStates[state.playerToAct ? 0 : 1], SkillType.Chill, state.fighterStates[state.playerToAct ? 0 : 1].hp, dice, defenderPlayer);\n\n return BattleUtils.endTurn(battle, state, dice);\n }\n}",{"affectsOpponent":true,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"KronoClass":{"$jig":3}},"description":"Chill Action","displayName":"Chill","handle":"chill","hash":"63e032a56edb96be3e5f42864e096c2d6dceeddaaa403ee7fb878ac53091bfd5","isAttackAction":true,"requiredLevel":0,"skillType":4}]}]}
    https://whatsonchain.com/tx/b34d8d3b8987a6fe1489b691d9f81b454b891032174e26a83437b20dc927aa1f