Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

627d04d5a3fea7c3271850d77cf5698c793596bd85d3c90d9d68e8918182d399
Timestamp (utc)
2021-07-07 13:04:20
Fee Paid
0.00002087 BSV
(
0.00181686 BSV
-
0.00179599 BSV
)
Fee Rate
583.1 sat/KB
Version
1
Confirmations
295,401
Size Stats
3,577 B

3 Outputs

Total Output:
0.00179599 BSV
  • jrun cryptofightsMô {"in":0,"ref":["456b029ed9a3665ab0966faa82281ede779b0d4aa87c9c7594b2f5d0e38a1b93_o1","ba28fdae935aa5d4b539fd4929725c2699af41a4501114653aef0682f39a4984_o1","391c6f4a1a76621d9a6f5bcb9628a00f9c62419c4bb17e39f429c212afc27e84_o1","9f0e192f744258c3484a1c19fa88ef68e46ee6cf75acc78cfe2ad5a0d2340d0e_o1"],"out":["6a9b0d5e6ae347eb31bee7d8db4e756e4074e918faf4989c37b7e33b2d61761d"],"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, 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":"27d60dd27dd60e563b15ab6df05b5bf90b42da2d9edae398fe8945497e8582ff","isAttackAction":false,"isSpellAction":true,"requiredLevel":0,"skillType":4}]}]}
    https://whatsonchain.com/tx/627d04d5a3fea7c3271850d77cf5698c793596bd85d3c90d9d68e8918182d399