Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

10437f93da89487f6b131e04812569345318fc6dfb06b4c0f27820018366fc5e
Timestamp (utc)
2021-08-23 16:55:24
Fee Paid
0.00002140 BSV
(
0.00996008 BSV
-
0.00993868 BSV
)
Fee Rate
543.2 sat/KB
Version
1
Confirmations
288,479
Size Stats
3,939 B

12 Outputs

Total Output:
0.00993868 BSV
  • jrun cryptofightsM, {"in":0,"ref":["b569b3a695c8d826df9c13a1a1acfa5554244279beccd262df8ce70e91fbbb7b_o1","4715e76b49bfe5659033799b90ed0fee7330274ffc28725507d980d96c4e65ea_o1","4d3a002b38a225fb945cfb079365ed14b79b51008ec721cbe78b6de78a122f6f_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["f6b3731a86b47dfc1daaebeb7023b81bba9d3e269629fde63e277779896fa505"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Shock extends FyxClass {\n static run(battle, state, dice) {\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.Shock))\n {\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.Shock)}\">${BattleUtils.parseSkillName(SkillType.Shock)}\\n<gradient=!log-color> `;\n\n let attackActionLog = {\n actionLogMessage: log\n };\n attackActionLog.playerIndex = state.playerToAct;\n attackActionLog.skillType = SkillType.Shock;\n attackActionLog.results = [];\n\n let resultMessage = `${playerName} spell attacks ${opponentName} : `; // goes up\n let damageOutput = {type: DamageType.Lightning, diceCount: 1, diceFaces: 12};\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, 1, [damageOutput], defenderPlayer, resultMessage, SkillType.Shock, null, 0);\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n\n Attack.processPostAttackStatus(state, battle, SkillType.Shock);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Shock, 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},"FyxClass":{"$jig":3}},"description":"Shock Action","displayName":"Shock","handle":"shock","hash":"69279ab1d871efb56aaf425dace12d3ccf1a21fb5d3ffac3e629eff503dde641","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":14}]}]}
    https://whatsonchain.com/tx/10437f93da89487f6b131e04812569345318fc6dfb06b4c0f27820018366fc5e
Total Output:
0.00993868 BSV