Through the darkness of futures past,
The magician longs to see
One chants out between two worlds:
Fire, walk with me.
thunderbolt can stack.
Through the darkness of futures past,
The magician longs to see
One chants out between two worlds:
Fire, walk with me.
The programing is correct.Code:public OnWar3EventPostHurt( victim, attacker, damage ) { decl String:weapon[64]; GetEventString(W3GetVar(SmEvent),"weapon",weapon,63); if( !W3HasImmunity(victim,Immunity_Skills) && !StrEqual(weapon,"raiden_thundrbolt",false) && !StrEqual(weapon,"Raidens_Rath",false) && !StrEqual(weapon,"explode",false) && ValidPlayer( victim, true ) && ValidPlayer( attacker, true ) && GetClientTeam( victim ) != GetClientTeam( attacker ) ) { if( War3_GetRace( attacker ) == thisRaceID ) { //Thunderbolt new skill_dmg2 = War3_GetSkillLevel( attacker, thisRaceID, SKILL_DMG2 ); if( !StrEqual(weapon,"hegrenade",false) && !Hexed( attacker, false ) && skill_dmg2 > 0 && Math_GetRandomFloat( 0.0, 1.0 ) <= 0.25 ) { War3_DealDamage( victim, RoundToFloor( damage * DMG2Multiplier[skill_dmg2] ), attacker, DMG_BULLET, "raiden_thundrbolt" );
well i dunno what to tell ya, he shot me 1 time as shown in the ss and hit me twice with thunderbolt
Through the darkness of futures past,
The magician longs to see
One chants out between two worlds:
Fire, walk with me.
Let us also look at some math:
new FloatMG2Multiplier[8] = { 0.0, 1.3, 1.6, 1.9, 2.1, 2.2, 2.3, 2.4 };
It says 94 DMG in 1 hit yet the skills did: 26dmg and 21dmg
So that means that for the first one they did either:
20, 16.25, 13.68, no point to cal rest b.c this and the next need to add to 94...
and
16,
Wait so the max dmg they could have done was 20+16 at least for what triggered this or 36DMG this leaves a lot unaccounted for as far as dmg goes. What we can conclude here is that the game is clearly not reporting the correct amount of hits or somehow 1 hit of whatever they hit you with created multiple hurt events meaning that 1 shot did multiple amounts of dmg. Now what would do 1 shot and have multiple hits...
Oh, a shotgun. Logically a shotgun will have multiple hit events but literally only fires 1 shot. The engine reports 94 dmg done to you by that 1 shot however the abilities are based off a chance when dmg is taken not based on the amount of shots physically fired.
edit: i derp'd. it was a shotty >.<
Last edited by brett friggin favre; 07-13-2012 at 11:45 PM.
Through the darkness of futures past,
The magician longs to see
One chants out between two worlds:
Fire, walk with me.