Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

309dc8e6fc191219afce4dd2b274fa4940d2e27ebfa169482a0a1de1fa2014f6
Timestamp (utc)
2021-06-30 13:24:49
Fee Paid
0.00002035 BSV
(
0.00606708 BSV
-
0.00604673 BSV
)
Fee Rate
561.8 sat/KB
Version
1
Confirmations
291,700
Size Stats
3,622 B

3 Outputs

Total Output:
0.00604673 BSV
  • jrun cryptofightsM! {"in":0,"ref":["31d3aa78d27564b457cf767f268016b0935922dbf278466029ce3000ae880c59_o1","3b946354eb885d1ea9cd76cbbf71278c158b8c924d9ad218f70e36e33d07dde6_o1","391c6f4a1a76621d9a6f5bcb9628a00f9c62419c4bb17e39f429c212afc27e84_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["e329817d3b72863c39513cfd573d9b4c83f9e172421232caa23b2a523c61bc41"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Freeze 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.Freeze))\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} `;\n\n let attackActionLog = {\n actionLogMessage: `${playerName} uses <sprite name=\"${BattleUtils.parseSkillName(SkillType.Freeze)}\">${BattleUtils.parseSkillName(SkillType.Freeze)}\\n<gradient=!log-color>`\n };\n attackActionLog.playerIndex = state.playerToAct;\n attackActionLog.skillType = SkillType.Freeze;\n attackActionLog.results = [];\n\n let resultMessage = `${playerName} spell attacks ${opponentName} : `; // goes up\n let damageOutput = {type: DamageType.Cold, diceCount: 2, diceFaces: 6};\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.Freeze, null, 2);\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n\n Attack.processPostAttackStatus(state, battle, SkillType.Freeze);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Freeze, 2);\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":2,"deps":{"Attack":{"$jig":0},"BattleUtils":{"$jig":1},"Constants":{"$jig":2},"FyxClass":{"$jig":3}},"description":"Freeze Action","displayName":"Freeze","handle":"freeze","hash":"12c5da7e1f9a7740e35b745d28d909788aa7ab564f529d5530b8348258dd15a5","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":23}]}]}
    https://whatsonchain.com/tx/309dc8e6fc191219afce4dd2b274fa4940d2e27ebfa169482a0a1de1fa2014f6