SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Spell modifier

Results 1 to 4 of 4

Hybrid View

  1. #1

    Spell modifier

    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_Ability3_3,Devourer_Ability3_4,Devoure r_Ability3_5,Devourer_Ability3_6,Devourer_Ability3 _7,Devourer_Ability3_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,

  2. #2
    Offline
    Account Icon
    Join Date
    Sep 2009
    Location
    Duluth, MN, USA
    Posts
    2,530
    I'm making dev wars too, ran into the same problem, actually.

    I have the first spell, which is an active, upgrade the length of the hook. That was easy. I have the second spell, passive, upgrade the speed... works fine. I have the third spell, passive, upgrade the radius... works fine. But when the second and third spells both have levels in them, only one works.

    The fourth passive will be damage for the hook, after i figure out this priority crap.

    How much do you have done? Maybe we can work together on this since they probably won't approve two separate dev wars maps... I guess I shouldn't ASSUME you're doing dev wars.
    Last edited by LonJAXsoN; 12-17-2010 at 04:33 PM.

  3. #3
    Quote Originally Posted by LonJAXsoN View Post
    I'm making dev wars too, ran into the same problem, actually.
    How much do you have done? Maybe we can work together on this since they probably won't approve two separate dev wars maps... I guess I shouldn't ASSUME you're doing dev wars.
    You were right ^^ I'm makking it too. Well I'm all for working together. I actualy finished the map itself, I'm trying to fix this priority **** ^^, also trying to set items restrictions and modify items etc... I can give you my own mumble or skype by PM if you want.

  4. #4
    This post is still open for help about the modifierkey priority stuff etc... or if you need help to change heroes ability.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •