![]() |
Need help for a different REQSTR script - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Need help for a different REQSTR script (/Thread-Need-help-for-a-different-REQSTR-script) |
Need help for a different REQSTR script - Onirim - 01-06-2013 10:42 AM Hello everybody ![]() In our Shard, we want all the characters can equip all weapons and armor (because they can), but the REQSTR will be used to slow the character. - For the Weapons, we want to slow down the attack speed if the REQSTR (or any new tag for the weapon) is < SRC.STR - For the Armor, we want to slow down the attack speed a little AND augment the casting time. Have you any clues of how to proceed ? I don't want begin an impossible script ![]() Thanks ! RE: Need help for a different REQSTR script - Mordaunt - 01-06-2013 11:13 AM Well... You'll have to drop all the REQSTR since those are hardcoded to what the character needs in order to equip it and use tags instead. RE: Need help for a different REQSTR script - Onirim - 01-06-2013 11:28 AM OKay but what kind of script I can use for slow down the speed of attack ? And if I make a script who work on @equip and @unequip, it was a problem if the character die ? or if the piece or armor is destroyed ? I hope I can make this script on an event script, and not on EVERY piece of armor and weapon ![]() RE: Need help for a different REQSTR script - RanXerox - 01-07-2013 03:38 AM You need an event on all players and monsters that recomputes the speed: Code: ON=@HitTry RE: Need help for a different REQSTR script - Onirim - 01-07-2013 04:06 AM It's okay, I've handle it differently ![]() When a character equip or unequip, I compute all the TAG.MINISTR to create a TAG.MALUS on the character. +1 for each equipment who need too much STR. And when the character Hit or Cast a Spell, it fait on 5% per point of MALUS. So with 20 piece of equipment who require to much STR, a character can't Hit or Cast a Spell ![]() |