Jump to content

prism

Members
  • Content Count

    69
  • Joined

  • Last visited

Everything posted by prism

  1. Does anyone know what file this skill uses for its animation when casted? I couldn't find a .str file with its name on it like other skills. I want to change the animation to something else. Or even how to make the skill use a different animation without modifying the texture files?
  2. The view id isn't the problem either. I tried those items arranged in a different orders and the same ones, Red,Violet,Yellow did not work. I know it has to be something wrong with those sprites and not my setup because no matter what I change those 3 just won't appear in game.
  3. I don't think those are case sensitive. I used to have everything in all caps and it had the same result. I only gave them matching cases as troubleshooting. I tried fixing the Violet Aura case but the sprite still won't show.
  4. Oops. I pasted from the wrong file. ACCESSORY_fallen_gladiator_aura = 2832, ACCESSORY_BLUE_AURA = 2833, ACCESSORY_CYAN_AURA = 2834, ACCESSORY_GREEN_AURA = 2835, ACCESSORY_PINK_AURA = 2836, ACCESSORY_RED_AURA = 2837, ACCESSORY_VIOLET_AURA = 2838, ACCESSORY_YELLOW_AURA = 2839 As far as the item_db. I haven't made items with them yet. I'm just using @changelook to test the sprites.
  5. The sprites I'm using are from this pack: https://rathena.org/board/files/file/2800-item-recolor-collection/ Right now I'm testing the Aura Sprites and a few of them won't work for me. Red, Yellow, and Violet. From my accname.lub: [ACCESSORY_IDs.ACCESSORY_fallen_gladiator_aura] = "_fallen_gladiator_aura", [ACCESSORY_IDs.ACCESSORY_BLUE_AURA] = "_Blue_Aura", [ACCESSORY_IDs.ACCESSORY_CYAN_AURA] = "_Cyan_Aura", [ACCESSORY_IDs.ACCESSORY_GREEN_AURA] = "_Green_Aura", [ACCESSORY_IDs.ACCESSORY_PINK_AURA] = "_Pink_Aura", [ACCESSORY_IDs.ACCESSORY_RED_AURA] = "_Red_Aura", [ACCESSORY_IDs.ACCESSORY_VIOLET_AURA] = "_Violet_aura", [ACCESSORY_IDs.ACCESSORY_YELLOW_AURA] = "_Yellow_Aura", From my accsessoryid.lub: [ACCESSORY_IDs.ACCESSORY_fallen_gladiator_aura] = "_fallen_gladiator_aura", [ACCESSORY_IDs.ACCESSORY_BLUE_AURA] = "_Blue_Aura", [ACCESSORY_IDs.ACCESSORY_CYAN_AURA] = "_Cyan_Aura", [ACCESSORY_IDs.ACCESSORY_GREEN_AURA] = "_Green_Aura", [ACCESSORY_IDs.ACCESSORY_PINK_AURA] = "_Pink_Aura", [ACCESSORY_IDs.ACCESSORY_RED_AURA] = "_Red_Aura", [ACCESSORY_IDs.ACCESSORY_VIOLET_AURA] = "_Violet_aura", [ACCESSORY_IDs.ACCESSORY_YELLOW_AURA] = "_Yellow_Aura", Is there perhaps something wrong with the sprite files? They're definitely all in the right places since most of the auras work.
  6. The only problem with @summon is that the mob will warp to you when you respawn which kind of defeats the purpose of it spawning to attack whatever killed you. I wonder if it would be difficult to create a custom @summon that doesn't cause the mob to follow the master. Kind of like summon monster skill that mobs have. It summons mobs to attack but doesn't count as a slave and doesn't follow its master or die when its master dies.
  7. My friend and I are implementing a perks system and have one called Vengeful Spirit. When you die is has a chance to summon a monster that attacks people. However, is it possible to make it so that it doesn't attack your party/guild?
  8. prism

    Get Equipped Card

    I'm using Hercules. case SC_DELUGE: val2 = skill->deluge_eff[val1-1]; //HP increase That's the original code from status.c I changed it to be 3% per level. I was able to get it to work by replacing: if( status->current_equip_card_id = 4302 ) with: if(sd->equip_index[EQI_ARMOR] >= 0 && sd->status.inventory[sd->equip_index[EQI_ARMOR]].card[0] == 4302)
  9. I'm trying to make it so that if Tao Gunka Card is equipped, this status will not provide a bonus. case SC_DELUGE: if( status->current_equip_card_id = 4302 ) val2 = 0; //HP increase* else val2 = val1*3; //HP increase* I tried doing this but it doesn't seem to work. It just gives 0 HP bonus no matter what.
  10. I kind of got it to work. I replaced: if(sc->data[sC_VOLCANO] && atk_elem == ELE_FIRE) ratio += skill->enchant_eff[sc->data[sC_VOLCANO]->val1-1]; if(sc->data[sC_VIOLENTGALE] && atk_elem == ELE_WIND) ratio += skill->enchant_eff[sc->data[sC_VIOLENTGALE]->val1-1]; if(sc->data[sC_DELUGE] && atk_elem == ELE_WATER) ratio += skill->enchant_eff[sc->data[sC_DELUGE]->val1-1]; With: if(sc->data[sC_VOLCANO] && atk_elem == ELE_FIRE) ratio += 20; if(sc->data[sC_VIOLENTGALE] && atk_elem == ELE_WIND) ratio += 20; if(sc->data[sC_DELUGE] && atk_elem == ELE_WATER) ratio += 20; It's kind of ghetto since it just sets it to a flat 20% bonus. But that's a lot better than nothing.
  11. I want to modify the way the scaling works on these abilities. I plan to make an item that give the use extra levels of the skill. 10% > 14% > 17% > 19% > 20% extra damage. It becomes 20% at the maximum level 5. The problem though is that past the level 5 point it starts decreasing and becomes a penalty to damage if the skill level is high enough. What I want it to do is stop at 20%. From Battle.c : if (sc && sc->count) { if(sc->data[sC_VOLCANO] && atk_elem == ELE_FIRE) ratio += skill->enchant_eff[sc->data[sC_VOLCANO]->val1-1]; if(sc->data[sC_VIOLENTGALE] && atk_elem == ELE_WIND) ratio += skill->enchant_eff[sc->data[sC_VIOLENTGALE]->val1-1]; if(sc->data[sC_DELUGE] && atk_elem == ELE_WATER) ratio += skill->enchant_eff[sc->data[sC_DELUGE]->val1-1];
  12. I found how to change the SP cost. It's in status.c. Search for this: case SC_MAXIMIZEPOWER: case SC_CLOAKING: if(!status->charge(bl, 0, 1)) break; //Not enough SP to continue. sc_timer_next(sce->val2+tick, status->change_timer, bl->id, data); return 0; The 1 is the amount of SP drained per tick. Note: changing this will affect Maximize Power as well so you'll need to separate them into different cases.
  13. Is it possible to disable a range of items with the map zone db rather than entering a long list of continuous item IDS?
  14. I want to modify the SP cost of cloaking if the level is 3. I want it to drain 10% of the user's maximum SP per second while cloaked. Also, I want Renovatio to work on Emperiums but I only want it to heal 1% of it's HP every 4 seconds.
  15. How would I go about making Asura Strike deal a percentage of the target's HP? I'm reducing the base damage of the skill but want to add percentage damage to it. 15% for example. It would be preferred if that % damage was reflected in the damage displayed when used by the skill. I know that Oboro Jyuhatsu/Illision - Death does percentage damage but it doesn't display the damage. Edit: I forgot to mention I don't want the hp % damage to work on bosses.
  16. Is it possible to make it so when you have X Item equipped you take Y% more damage from Skill Z?
  17. prism

    Sage Soul Link

    This thread can be closed. After further investigation I found the answer I was looking for. Skill.c else if(skill_id==MG_COLDBOLT || skill_id==MG_FIREBOLT || skill_id==MG_LIGHTNINGBOLT){ if (sd->sc.data[sC_SOULLINK] && sd->sc.data[sC_SOULLINK]->val2 == SL_SAGE) maxlv =10; //Soul Linker bonus. [skotlex] change the maxlvl = 10 to whatever level desired.
  18. prism

    Sage Soul Link

    How can I modify this link to increase the skill level cast by auto spell by one? Normally this link makes it autocast level equal to the user's learned level but with some with a custom item of ours that improves autospell this would be seriously OP. //Max chance, no skill_lv reduction. [skotlex] This comment is near the part in the source from battle.c that seems to affect this.
  19. Is it possible to make these skills only work on melee attacks? It's always seemed strange to me that a Champion can 'Blade Stop' someone shooting them with arrows. Same with Shrink and ranged attacks.
  20. Is there a way to increase this limit? I know it was possible in rathena but I haven't been able to find it in Hercules source anywhere.
  21. How can I give a job the ability to equip ammo? I tried removing the job requirements in item_db but that doesn't work. I tried searching through most of the db files as well. I tried to look in source, but I'm not really sure exactly what to look for! I want to make Creators able to equip cannonballs.
  22. Thanks. I'll give this a try when I get home from work before I ask him/her.
  23. I need some help with applying this code to hercules. https://github.com/rathena/rathena/commit/61f3caa (original post below) http://herc.ws/board/tracker/issue-8000-backslide-skill-issue/ I'm unsure how to apply the path.c as the code is so much different from that of Hercules.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.