Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

3321059f3b3e8ffb78652ea7a94dcc7ea9faae794df4341d8ce86cb138f62992
Timestamp (utc)
2021-06-25 17:32:12
Fee Paid
0.00002142 BSV
(
0.00294110 BSV
-
0.00291968 BSV
)
Fee Rate
581.1 sat/KB
Version
1
Confirmations
292,361
Size Stats
3,686 B

3 Outputs

Total Output:
0.00291968 BSV
  • jrun cryptofightsMb {"in":0,"ref":["b2ae5702ccca5d3da9d6481c93b046261b8130831834a794d4e60632c48630ff_o1","c0c4b1f852f8f87128e4de5a3dd23e7d0a21ad7403bf0d5f495eaf89b884269c_o1","5f50b89d572ee82e4e756bf2d3b66df920264c0dac58b45cc5473cd6d11809f9_o1","5334f688050535806987424ec00ba75b74a2087c8c3945765dd9107ac81af1a7_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["b87c950ed84565698627795cc0221317889aa56d6961fde5c01eb6eb69954a5d"],"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":"125ce65887c6a8392c19f8b7b8019ded72bc2425550ab34dbf18f3e103b3ee94","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":3}]}]}
    https://whatsonchain.com/tx/3321059f3b3e8ffb78652ea7a94dcc7ea9faae794df4341d8ce86cb138f62992