SphereServer BugTracker - SphereServer
View Issue Details
0001988SphereServerscript packpublic22-06-11 19:5324-03-13 18:53
babidi 
RanXerox 
normaltweakalways
closedfixed 
20-09-2009, 0.56b Prerelease 
0.56c Nightly 
Not Available
None
None
0001988: executable & script pack - Spell reagents problems
PREAMBLE: If you change resources in sphere_spells the spellbook is not refreshed with new reagents required. Also if changed on run the removed reagents are still required even if not consumed (ex. a spell use NS, BP - if remove BP from definitions and resync, @select will check NS & BP and if are present will cast the spell and will consume only NS)

As writen here: http://uo.stratics.com/php-bin/show_content.php?content=30684 [^]
And also as writen in the Spell Book
The following change should be made
---
[Spell 5]
DEFNAME=s_magic_arrow
RESOURCES=i_reag_black_pearl,i_reag_nightshade => RESOURCES=i_reag_sulfur_ash
-
[Spell 18]
DEFNAME=s_fireball
NAME=Fireball
RESOURCES=i_reag_black_pearl,i_reag_sulfur_ash => RESOURCES=i_reag_black_pearl
-
[Spell 30]
DEFNAME=s_lightning
RESOURCES=i_reag_black_pearl,i_reag_mandrake_root,i_reag_sulfur_ash => RESOURCES=i_reag_mandrake_root,i_reag_sulfur_ash
-
[Spell 35]
DEFNAME=s_incognito
RESOURCES=i_reag_blood_moss,i_reag_garlic,i_reag_nightshade ->
STRATICS: RESOURCES=i_reag_blood_moss,i_reag_mandrake_root,i_reag_nightshade,i_reag_sulfur_ash
SPELLBOOK: i_reag_blood_moss,i_reag_garlic,i_reag_nightshad
-
[Spell 38]
DEFNAME=s_paralyze
RESOURCES=i_reag_garlic,i_reag_mandrake_root,i_reag_spider_silk ->
STRATICS: RESOURCES=i_reag_black_pearl,i_reag_nightshade,i_reag_spider_silk
SPELLBOOK: RESOURCES=i_reag_garlic,i_reag_mandrake_root,i_reag_spider_silk
-
[Spell 43]
DEFNAME=s_explosion
RESOURCES=i_reag_black_pearl,i_reag_mandrake_root,i_reag_sulfur_ash -> RESOURCES=i_reag_blood_moss,i_reag_mandrake_root
-

If not possibile to update the reagents inside the speelbook then sphere should use as default that to have less confusion for players
No tags attached.
Issue History
22-06-11 19:53babidiNew Issue
29-06-11 22:36ShiryuXNote Added: 0001148
29-06-11 22:40babidiNote Added: 0001149
29-06-11 22:49ShiryuXNote Added: 0001150
29-06-11 22:49ShiryuXNote Edited: 0001150bug_revision_view_page.php?bugnote_id=0001150#r368
29-06-11 22:50babidiNote Added: 0001151
01-07-11 15:41ShiryuXSeveritytrivial => tweak
01-07-11 15:41ShiryuXCategoryexecutable - generic => script pack
01-07-11 15:42ShiryuXNote Added: 0001153
04-07-11 23:02babidiNote Added: 0001156
24-03-13 18:51RanXeroxAssigned To => RanXerox
24-03-13 18:51RanXeroxStatusnew => assigned
24-03-13 18:53RanXeroxNote Added: 0001521
24-03-13 18:53RanXeroxStatusassigned => closed
24-03-13 18:53RanXeroxResolutionopen => fixed
24-03-13 18:53RanXeroxFixed in Version => 0.56c Nightly

Notes
(0001148)
ShiryuX   
29-06-11 22:36   
Is client-side, nothing we can do about that problem. The spellbook is coded in the client so it decides which reagents will show to you. The resync issue, I'm not having any problem here, specify your nightly build and try with the latest.
(0001149)
babidi   
29-06-11 22:40   
however it will be nice that spells consume what spellbook says.
i'll try and let you know
(0001150)
ShiryuX   
29-06-11 22:49   
Yes, but we can't edit the client =)
You can ask in the forums if you want.

(0001151)
babidi   
29-06-11 22:50   
i mean that scripts should be changed to fit the spellbook :)
(0001153)
ShiryuX   
01-07-11 15:42   
I took the liberty to edit your ticket so this is a change for the script pack.
If your problem with the resync thing persist, you can open another ticket.
(0001156)
babidi   
04-07-11 23:02   
also scrolls resources should be edited because are using not in spellbook reagents
(0001521)
RanXerox   
24-03-13 18:53   
I edited the resources on spells and scrolls to all be consistent with the spellbook... should be in the next nightly build.