JohnVeritas
Apprentice
Posts: 49
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 2
|
RE: Item to be identified
(03-04-2014 02:30 AM)Osirirs Wrote: 1-) ...So if I get it well, src.tag.bs means you just set a tag named "bs" to the item...
2-) if (<eval <src blacksmithing> - 1000> == <src.tag0.bs>) means it evaluates that the player's blacksmithing skill hasn't been
increased, it's still equal to to the saved tag (the player' skill)
And this works because the tag is set before the if (<attr>&(attr_identified)), otherwise I would have the same problem
cause the tag would act with the attr_identified value.. right? explained quite weirdly but I'm pretty sure I get it!
3-) Now this is just a minor detail, since you already helped so much but since my item is supposed to look normal
before being identified, I'm trying to set the item color to change once it is identified:
ON=@Create
Attr=attr_magic
Hitpoints=9000
if (<attr>&(attr_identified))
Color=0b86
endif
1-) We set a custom tag named bs, you're right till here but we save it to the player instead to save item.
2-) That means; after players bs skill, unequip the hammer, is equal to the first place. Since i've already told you this will work only if you have 100.0 skillcap. Otherwise you have to use another method. ( I've already explained that too ^.^ ) Basicly we save player's bs skill when player equip that hammer. There's no condition for that it just save it, hammer got itemid or not. I put that saving action before check identify, as i already told, if player equips the hammer before it got identified and then he identify it while equiping and when he unequip hammer he will loose 100.0 bs. This tag is protect's it. If player got 50.0 bs, and he use that hammer before identify it. And as fit to the situation he identify it while equiping. Here's our script work line. When he unqeuip the hammer, if currently bs skill ( boosted +100.0 or not ) isnt equal with first place, he will not loose any bs skill. Since he can't gain more skill than 100.0 and hammer provides +100.0 it will not cause a problem in the future.
3-) Try this one;
on=@click
if (<attr>&(attr_identified))
Color=0b86
src.sysmessage @026 Item Rank: Artifact
src.sysmessage @026 Skill: Blacksmithing +100.0
message @026 The Golden Hammer
Return 1 // <- here is the right place.
endif
|
|
03-04-2014 04:56 AM |
|
|