![]() |
+9 dagger - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: +9 dagger (/Thread-9-dagger) Pages: 1 2 |
RE: +9 dagger - x77x - 04-26-2019 09:13 AM this seems to work for me... Code: ON=@ItemClick RE: +9 dagger - ShiryuX - 05-20-2019 03:01 AM I would recommend using @AfterClick. Or use MESSAGEUA instead of MESSAGE, with 6 as message type. This way, the message will display as "You see:" on the journal, instead of a normal message from the item (which would look like if someone was speaking). RE: +9 dagger - x77x - 05-21-2019 09:02 PM example? also... anyway you can get the message stationary? when you click on the item, then move the item, the text stays in the original spot... (because it is using message) RE: +9 dagger - Coruja - 05-26-2019 06:17 AM it's not wrong get the bonus value based on static MOREY values (10, 250, 500, ...) but you can replace this with an dynamic formula (same formula used intenally) which can return any value (+1, +2, +3, +4, +5, ...) instead only these pre-defined values (+1, +3, +5, ...) Code: [EVENTS e_magicwpn] PS: note that the bonus value is based on EFFECT value of s_enchant spell (by default is EFFECT=1,9) and the weapon MOREY will indicate which value between 1,9 should be returned. So you must make sure that EFFECT value on s_enchant is properly set, and also make sure that armors/weapons have MOREY between 0.0 ~ 100.0 (which is the same as 0% ~ 100%). If you want go over > 100.0 you must increase EFFECT value on s_enchant spell instead set MOREY > 100.0 on the weapon (05-21-2019 09:02 PM)x77x Wrote: example? using SAY/MESSAGE will make sphere send an say/message packet, so using Code: ON=@Click Code: ON=@AfterClick RE: +9 dagger - ShiryuX - 05-28-2019 08:19 PM The locals are good if you only have to send ONE message. Otherwise, as I said, you can use MESSAGEUA. Code: [TYPEDEF t_Enhanced_Item] The message will follow the item (as you will see in the journal "You see: name, You see: [Magica]") |