skill question
Moderator: Forum Moderator
skill question
new const Float:p_critical[3] = {0.25,0.50,0.75} // Critical Strike
is this line setting the % of crit strike to occur ? or is it setting the multiplier of dmg
and if so shoudlent it be .25 .25 .25 not .50 .75 woudlent that be making a 50% and 75% chance of this skill occuring?
is this line setting the % of crit strike to occur ? or is it setting the multiplier of dmg
and if so shoudlent it be .25 .25 .25 not .50 .75 woudlent that be making a 50% and 75% chance of this skill occuring?
8.9.2.158:27015 <- War3ft much more balanced then other frozen throne servers due to alot of testing and tweaking over time to Geesus mod
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
this is in the contants.inl im just asking what the values set towards orcs skill number 1 being critical strike ...
8.9.2.158:27015 <- War3ft much more balanced then other frozen throne servers due to alot of testing and tweaking over time to Geesus mod
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
so it gose 20/40/60% ? any possible way to edit the % i have no clue where to change it if not in contants.inl also the dmg multiplier where is the area to tweak that around[/b]
8.9.2.158:27015 <- War3ft much more balanced then other frozen throne servers due to alot of testing and tweaking over time to Geesus mod
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
// Orcish Horde
else if ( Verify_Race(attacker, RACE_ORC) ){
// Critical Strike
if ( Verify_Skill(attacker, RACE_ORC, SKILL1) && !p_data_b[attacker][PB_HEXED]) {
new Float:randomnumber = random_float(0.0,1.0)
if (randomnumber <= CRITICAL_STRIKE_CHANCE){
tempdamage = floatround(float(damage) * p_data[attacker][P_SKILL1])
WAR3_damage(victim, attacker, tempdamage, wpnindex, hitplace)
if (iglow[victim][0] < 1){
new parm[2]
parm[0] = victim
set_task(0.01,"glow_change",TASK_GLOW+victim,parm,2)
}
iglow[victim][0] += tempdamage
iglow[victim][1] = 0
iglow[victim][2] = 0
iglow[victim][3] = 0
if (iglow[victim][0]>MAXGLOW)
iglow[victim][0]=MAXGLOW
Create_ScreenFade(victim, (1<<10), (1<<10), (1<<12), 255, 0, 0, iglow[victim][0])
}
}
eh this is all i found and with my knowledge for scripting whihch is quite small at the time iam not sure what to tinker with to change to affect the % of the skill occuring
else if ( Verify_Race(attacker, RACE_ORC) ){
// Critical Strike
if ( Verify_Skill(attacker, RACE_ORC, SKILL1) && !p_data_b[attacker][PB_HEXED]) {
new Float:randomnumber = random_float(0.0,1.0)
if (randomnumber <= CRITICAL_STRIKE_CHANCE){
tempdamage = floatround(float(damage) * p_data[attacker][P_SKILL1])
WAR3_damage(victim, attacker, tempdamage, wpnindex, hitplace)
if (iglow[victim][0] < 1){
new parm[2]
parm[0] = victim
set_task(0.01,"glow_change",TASK_GLOW+victim,parm,2)
}
iglow[victim][0] += tempdamage
iglow[victim][1] = 0
iglow[victim][2] = 0
iglow[victim][3] = 0
if (iglow[victim][0]>MAXGLOW)
iglow[victim][0]=MAXGLOW
Create_ScreenFade(victim, (1<<10), (1<<10), (1<<12), 255, 0, 0, iglow[victim][0])
}
}
eh this is all i found and with my knowledge for scripting whihch is quite small at the time iam not sure what to tinker with to change to affect the % of the skill occuring
8.9.2.158:27015 <- War3ft much more balanced then other frozen throne servers due to alot of testing and tweaking over time to Geesus mod
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
-
- Peon
- Posts: 2
- Joined: Fri Sep 02, 2005 9:47 pm
ok thx
8.9.2.158:27015 <- War3ft much more balanced then other frozen throne servers due to alot of testing and tweaking over time to Geesus mod
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/
forums: http://s9.invisionfree.com/WhiteMagicia ... /index.php
Website: http://war3x.atlasservers.com/