Page 1 of 1
Possible Chameleon Fix
Posted: Mon Nov 14, 2005 4:22 pm
by GUNN3R17
Code: Select all
f ( Verify_Race(victim, RACE_ELF) ){
// Evasion
if ( Verify_Skill(victim, RACE_ELF, SKILL1) && p_data_b[victim][PB_EVADENEXTSHOT] ) {
new healthadjustment = -1024
new iHealth = get_user_health(victim)
for it to work the race has to be elf acording to the code...would putting in "or chameleon" next to the race_elf fix it? havent tested it just noticed that as i was glancing through the code. would test it if i could remember the or symbol lol...
Posted: Mon Nov 14, 2005 4:43 pm
by nightscream
can i ask what the bug was?
Posted: Mon Nov 14, 2005 4:46 pm
by GUNN3R17
when chameleon with evade and you get a fatal shot it slays you, not opponite killed you...slayed with no killer
Posted: Mon Nov 14, 2005 7:28 pm
by Geesu
Yea thats where I need to put the fix, I'll do that for the next release, TY
Posted: Tue Nov 15, 2005 11:50 am
by Geesu
OK I looked into it more... and I can't see what is wrong w/it ... The code for the chameleon check is within the Verify_Race function