Warrdden
12-17-2010, 01:02 PM
Hi, I'm actualy trying to make a map where on of the heroes is modified (Devourer). I succesfully changed his third ability to modify hook radius thanks to this code :
//Devourer Ability 3//
<?xml version="1.0" encoding="UTF-8"?>
<ability
name="Ability_Devourer3"
icon="icon.tga"
maxlevel="8"
requiredlevel="1,2,3,4,5,6,7,8"
actiontype="passive"
modifierkey="Devourer_Ability3_1,Devourer_Ability3_2,Devourer_A bility3_3,Devourer_Ability3_4,Devourer_Ability3_5, Devourer_Ability3_6,Devourer_Ability3_7,Devourer_A bility3_8"
>
</ability>
then by adding thoses lines in projectile.entity:
<modifier key="Devourer_Ability3_1" modpriority="200"
touchradius="85"
/>
etc... until Devourer_Ability3_8
That works fine , but I also tried to make the same thing with the second ability to modify the hook speed. It doesnt work , it seems that it's a problem of priorirty because with only 1 spell upgraded , it works, but with the both it doesnt. I tried without priority, with different , with same, nothing works.
I'm not sure I was clear but if a S2 games develeper can help me (I'm dreaming I guess ^^) I will be very happy.
Sincerly yours,
//Devourer Ability 3//
<?xml version="1.0" encoding="UTF-8"?>
<ability
name="Ability_Devourer3"
icon="icon.tga"
maxlevel="8"
requiredlevel="1,2,3,4,5,6,7,8"
actiontype="passive"
modifierkey="Devourer_Ability3_1,Devourer_Ability3_2,Devourer_A bility3_3,Devourer_Ability3_4,Devourer_Ability3_5, Devourer_Ability3_6,Devourer_Ability3_7,Devourer_A bility3_8"
>
</ability>
then by adding thoses lines in projectile.entity:
<modifier key="Devourer_Ability3_1" modpriority="200"
touchradius="85"
/>
etc... until Devourer_Ability3_8
That works fine , but I also tried to make the same thing with the second ability to modify the hook speed. It doesnt work , it seems that it's a problem of priorirty because with only 1 spell upgraded , it works, but with the both it doesnt. I tried without priority, with different , with same, nothing works.
I'm not sure I was clear but if a S2 games develeper can help me (I'm dreaming I guess ^^) I will be very happy.
Sincerly yours,