Thread: ≈ Wyvern Skill
View Single Post
Old 29.07.2005, 22:02   #15
Fulminus
Архивный участник
 
Join Date: Jul 2005
Posts: 23
Default

I like your idea to make wyvern-summoning a skill for castle-holders...However, the mechanics of pets and summons are quite different. One can name pets, level them up, dress them up...
Each pet is actually stored in the database permanently (as long as the collar isn't destroyed), and each pet belongs to the owner of its collar.
Looking at a collar, you will notice that it has the item_skill named s_wolf_collar. This skill, in turn, has effect i_summon_pet and condition can_summon_pet (as opposed to i_summon;[name];XP and condition can_summon).
Actually, if you look closely in the DB, you will notice that id of the user_item.item_id corresponding to the collar, and the pet_id of the pet match up. So actually it doesn't matter if the pet on the other side is wolf or something else...it'd work alright. I haven't tried it myself, but it'd be an interesting experiment to change the pet's npc class to a non-pet (eg. the class of a summon) and see how it acts
However, what you are trying to do is the opposite...I don't think it will work. In order to get the wyvern to act as a pet, you should summon it with the s_summon_pet skill-effect. However, you cannot specify the kind of pet this summons as it isn't meant to be used in this manner. So using that effect as a skill instead of item will (most likely) cause a blank summon, which cannot be returned (unsummoned) except by logging out of the client.
Fulminus is offline