skill question

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Locked
Solace
Peon
Posts: 38
Joined: Tue Aug 09, 2005 4:12 pm
Location: Canada BC Vancouver
Contact:

skill question

Post by Solace » Wed Aug 31, 2005 8:14 am

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?
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/

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Aug 31, 2005 11:16 am

it's actually not used anywhere :P
No Support via PM

Solace
Peon
Posts: 38
Joined: Tue Aug 09, 2005 4:12 pm
Location: Canada BC Vancouver
Contact:

Post by Solace » Wed Aug 31, 2005 7:36 pm

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/

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Aug 31, 2005 10:20 pm

that is in constants.inl... but that variable isn't used anywhere

it's a 20% chance for orc crit strike for each lvl
No Support via PM

Solace
Peon
Posts: 38
Joined: Tue Aug 09, 2005 4:12 pm
Location: Canada BC Vancouver
Contact:

Post by Solace » Wed Aug 31, 2005 11:25 pm

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/

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Thu Sep 01, 2005 1:16 pm

no... 20/20/20

the amount of dmg increases w/each lvl... its in events.inl somewhere
No Support via PM

Solace
Peon
Posts: 38
Joined: Tue Aug 09, 2005 4:12 pm
Location: Canada BC Vancouver
Contact:

Post by Solace » Fri Sep 02, 2005 3:48 am

// 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
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/

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri Sep 02, 2005 8:58 am

change CRITICAL_STRIKE_CHANCE in constants.inl
No Support via PM

vampire_kid_13
Peon
Posts: 2
Joined: Fri Sep 02, 2005 9:47 pm

Post by vampire_kid_13 » Sat Sep 03, 2005 8:27 am

i didnt want to make a new thread for this, once you change something in constatns.inl, how do you recompile...well, i know what recompiling is, but i have no clue what to use for recompiling =(

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Sat Sep 03, 2005 11:54 am

look on amxmodx.org forums... there is a guide
No Support via PM

Solace
Peon
Posts: 38
Joined: Tue Aug 09, 2005 4:12 pm
Location: Canada BC Vancouver
Contact:

Post by Solace » Sat Sep 03, 2005 1:01 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/

Locked