Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

d7e4c4ec29f73107cd93dc5a725d90e44b1a817a07b718705630fa6c2973295d
Timestamp (utc)
2021-06-25 14:24:29
Fee Paid
0.00001993 BSV
(
0.00268622 BSV
-
0.00266629 BSV
)
Fee Rate
540.5 sat/KB
Version
1
Confirmations
297,709
Size Stats
3,687 B

3 Outputs

Total Output:
0.00266629 BSV
  • jrun cryptofightsMb {"in":0,"ref":["e9b70a085b4d2e26d278c71e5ffda373cf2a7599aac3cb56587d74abc421a811_o1","eed3a953180d7ee676d89371c653391f36ca76b295c6d5dd99d66ea214f2a19e_o1","29008eda39d26df2c80f2acf426126e089bdf2c25ec7fddf3821d7f5244deda8_o1","5334f688050535806987424ec00ba75b74a2087c8c3945765dd9107ac81af1a7_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["33331790d8da172f1831001ebe8b0f42018ebe2db6b5aa6f50a607ce105d6dbd"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Burn extends FyxClass {\n static run(battle, state, dice, ts) {\n const {Ability, DamageType, SkillType, StatusEffect} = Constants;\n if(!BattleUtils.isSkillInCooldown(battle.battlePlayers[state.playerToAct], state.fighterStates[state.playerToAct]\n , state.fighterStates[state.playerToAct].turnCounter, SkillType.Burn))\n {\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 let damageOutput = {type: DamageType.Fire, diceCount: 2, diceFaces: 8};\n \n const defenderState = state.fighterStates[state.playerToAct ? 0 : 1];\n const attackerState = state.fighterStates[state.playerToAct];\n // Process pre-attack saving throws actionLogs\n if (BattleUtils.isUnderStatusEffect(defenderState, StatusEffect.Hidden, defenderState.turnCounter)) { // Spot\n state.actionLogs.push(Attack.makeSpotActionLog(battle, state, dice, attackerState, defenderState, state.playerToAct));\n }\n \n if (!BattleUtils.isUnderStatusEffect(defenderState, StatusEffect.Hidden, defenderState.turnCounter)) {\n var result = Attack.makeResult(battle, state, dice, Ability.Intelligence, Ability.Intelligence, 0, 0, 0, [damageOutput], defenderPlayer, resultMessage, SkillType.Burn, null, 0);\n\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n Attack.processPostAttackStatus(state, battle, SkillType.Burn);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Burn, 1);\n }\n else\n {\n return BattleUtils.skipTurn(battle, state, dice);\n }\n\n return BattleUtils.endTurn(battle, state, dice);\n }\n}",{"affectsOpponent":true,"cooldown":1,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"Dice":{"$jig":3},"FyxClass":{"$jig":4}},"description":"Burn Action","displayName":"Burn","handle":"burn","hash":"7f05dec0b2823c7fab2743950093de01333c2e14a002645a0dab340488f2347b","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":3}]}]}
    https://whatsonchain.com/tx/d7e4c4ec29f73107cd93dc5a725d90e44b1a817a07b718705630fa6c2973295d