Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

79585ef26915380ea07bc1d9fe4ed5ba85adf10f4b1be0b0f5227ce3c7118fc8
Timestamp (utc)
2021-06-25 20:16:49
Fee Paid
0.00002159 BSV
(
0.00297557 BSV
-
0.00295398 BSV
)
Fee Rate
604.7 sat/KB
Version
1
Confirmations
297,804
Size Stats
3,570 B

3 Outputs

Total Output:
0.00295398 BSV
  • jrun cryptofightsMî {"in":0,"ref":["0f4f9fe1f5d27601496e6ad5826b97d3d4f1b2f5d463236b6f72ad7f328372d3_o1","00f6307b429802283606cf6fde773233086168e0a63e0d6cc98f1d1886f37190_o1","5f50b89d572ee82e4e756bf2d3b66df920264c0dac58b45cc5473cd6d11809f9_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["cabd7e313cd4595b8c5f793ea91dfb76310cadf39649ab2b1faf76a68af9b467"],"del":[],"cre":["n2Bd4cWhEQK1aVjb1R7EBGV9mrw3etvSdC"],"exec":[{"op":"DEPLOY","data":["class Chill 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.Chill))\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.Chill)}\">${BattleUtils.parseSkillName(SkillType.Chill)}\\n<gradient=!log-color> `;\n\n let attackActionLog = {\n actionLogMessage: log,\n playerIndex: state.playerToAct,\n skillType: SkillType.Chill,\n results: []\n };\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.Chill, null, 0);\n attackActionLog.results.push(result);\n state.actionLogs.push(attackActionLog);\n }\n\n Attack.processPostAttackStatus(state, battle, SkillType.Chill);\n BattleUtils.applySkillCooldown(battle, state, SkillType.Chill, 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":"Chill Action","displayName":"Chill","handle":"chill","hash":"7ca0d8874f8b1ae7f7f08706e0145a9b9c6be5ea14979ee54de87838a9408cae","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":4}]}]}
    https://whatsonchain.com/tx/79585ef26915380ea07bc1d9fe4ed5ba85adf10f4b1be0b0f5227ce3c7118fc8