Transaction

0c6e6cfc9aa441f7dd501c57dff599bb0cc385b09fa14fd6d1819a6192f17180
( - )
204,717
2021-01-13 05:36:11
1
2,586 B

3 Outputs

Total Output:
  • jrun cryptofightsM {"in":0,"ref":["fe51df7a52d15b7ca973d26e152c99a15ac0999c564cc02069e911c2de172645_o1","8e5d26176cc5ce4f2734e2fb8abb6da01237f5c1736839adf8a82659ecbe85d6_o1","0e660dbbccc19c47e388dbd07832821da0083f020eced33c3f49d195df5427bc_o1","be7daf36641ba33aad8f42e02adbbcb48fb88cc0c6ac6b56f4c85369dcd2dfa1_o1","507b9cffbeb94c2386e054f3d63617f7b091e0bdb1619a99c3cd04e309be45f3_o1"],"out":["2d5dc26ba10ddf594fe8617bee66c580ffeea4dbe2b7d26ea4575a50514e2be6"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Burn 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 var playerName = BattleUtils.getPrettifiedPlayerName(battle, state);\n let opponentName = BattleUtils.getOpponentName(battle, state);\n\n let log = `${playerName} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Burn)}\">${BattleUtils.parseSkillName(SkillType.Burn)}\\n<gradient=!log-color> `;\n\n let attackActionLog = {\n actionLogMessage: log\n };\n attackActionLog.playerIndex = state.playerToAct;\n attackActionLog.skillType = SkillType.Burn;\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.Fire, 1, 8, defenderPlayer, resultMessage, SkillType.Burn);\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.Burn, 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},"Dice":{"$jig":3},"KronoClass":{"$jig":4}},"description":"Burn Action","displayName":"Burn","handle":"burn","hash":"68b455c6539cb701918f04338e5b6641388d06290e4ef2820289b7fb93a6d46d","isAttackAction":true,"requiredLevel":0,"skillType":3}]}]}
    https://whatsonchain.com/tx/0c6e6cfc9aa441f7dd501c57dff599bb0cc385b09fa14fd6d1819a6192f17180