testing value
fe_pet1->current_hp (start of fight_eval) 9
fe_pet2->current_hp (start of fight_eval) 24
tempstr = '29119','29119','15931','18271','',''
RawAttackStrength=10
AttackStrengthMatrixScaled=3
RawAttackStrength=13
AttackStrengthMatrixScaled=4
RawAttackStrength=12
AttackStrengthMatrixScaled=3
RawAttackStrength=11
AttackStrengthMatrixScaled=3
Action IDs:
Pet1: 10028
Pet2: 10407
Object
Object
fe_pet1_ability_strength=0
fe_pet2_ability_strength=0
fe_pet1_ability_power_used=50
fe_pet2_ability_power_used=50
Object Script : [switch ($objectaction) { case "battledome": switch ($phase) { case "attack": $pet1_scriptoutput="You attack $pet2->name with the Bone Septre!
"; $pet2_scriptoutput="$pet1->name attacks you with the Bone Septre!
"; $pet2_damage[air]+=scale($pet1_attack_strength,4,4); $pet2_damage[darkness]+=scale($pet1_attack_strength,4,4); $pet2_damage[earth]+=scale($pet1_attack_strength,4,4); break; } break; }]
Object Script : [switch ($objectaction) { case "battledome": switch($phase) { case "attack": $gain = dice(1, 5); $pet1->current_hp += $gain; $pet1_scriptoutput="You throw your Caustic Potion at $pet2->name! KABOOM!!! You gain $gain hp!
"; $pet2_scriptoutput="$pet1->name throws a Caustic Potion at you! AHHHHHHH!!! $pet1->name gained $gain hp!
"; $pet2_damage[earth]+=scale($pet1_attack_strength,4,5); $pet2_damage[earth]+=scale($pet1_attack_strength,4,5); $delete_bdequip = true; break; } break; }]
fe_pet1_freeze: 0
fe_pet2_freeze: 0
fe_pet1_attack_strength: 3
fe_pet2_attack_strength: 4
fe_pet1_defence_strength: 3
fe_pet2_defence_strength: 3
Total Damage:
Pet1: 10
Pet2: 4
fe_pet1_ability_damage: 9
fe_pet2_ability_damage: 10
fe_pet1->current_hp (before damage) 13
fe_pet2->current_hp (before damage) 24
fe_pet1->current_hp (after damage) 3
fe_pet2->current_hp (after damage) 20
Existing pet1 ability_power=100
fe_pet1_new_ability_power=100
Existing pet2 ability_power=100
fe_pet2_new_ability_power=100
pet1_changes: [current_hp='3']
pet2_changes: [current_hp='20']
pet1_neopets_equip_changes: []
pet1_neopets_equip_changes: []
pet2_neopets_equip_changes: []
pet2_neopets_equip_changes: []
Pet1 Damage
fire = 0
water = 0
air = 8
earth = 16
light = 0
darkness = 16
physical = 0
Pet2 Damage
fire = 0
water = 0
air = 6
earth = 5
light = 0
darkness = 6
physical = -6
Updating Database
UPDATE neopets SET current_hp='3' WHERE name='Hazimel'
testing value
UPDATE neopets SET current_hp='20' WHERE name='Jawll'
UPDATE bd_opponent_instance SET current_hp='20' WHERE opponent_instance_id=''
End of fight_eval debug
And the fight won't go on...
Any ideas?
|