SphereCommunity
Rideable creature to give STR/DEX/INT - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Rideable creature to give STR/DEX/INT (/Thread-Rideable-creature-to-give-STR-DEX-INT)



Rideable creature to give STR/DEX/INT - Q23A - 05-15-2012 10:10 PM

Hello, I need a script, which allow rideable creature to give STR/DEX/INT.

I tried many variations, but nothing.

[TYPEDEF t_eq_horse]

ON=@EQUIP
SRC.MODSTR += 10
RETURN 0

ON=@UNEQUIP
SRC.MODSTR -= 10
RETURN 0

Works only unequip.When I mount It not give me strenght.

And If I use

on=@mount
src.modstr += 5

on=@dismount
src.modstr -= 5

Its not working.

Thank you Smile


RE: Rideable creature to give STR/DEX/INT - Crusader - 05-15-2012 10:30 PM

where did u put this:

Code:
on=@mount
src.modstr += 5

on=@dismount
src.modstr -= 5

inside the player or inside the char of the mount?


Plus try to see if trigger ON=@EQUIP is fired,
add:
Code:
on=@mount
serv.log I'm mounting <ARGO.NAME>
src.modstr += 5
RETURN 0



RE: Rideable creature to give STR/DEX/INT - Q23A - 05-16-2012 02:00 AM

Problem Fixed Smile