View Full Version : Any help implementing SA crystall ai
I want implement SA quest.
What method i should use? I dont know from that I should start...
can anybody show simple structure of this quest in ai
I am seeing like being able to raise the level of the crystal, until now happened a simple way to me, although he is not equal to the official, but quest would be.
my serious method to request quest and that gives a crystal to you, reason why I have understood the crytal raises of lvl with harit lizarman among others, the serious idea that these tiny beasts throw items to you of quest and with them you go to npc that you it changes it by lvl 2, and asi successively to be obtaining the different crystals.
opinions?
Now I can undestand only one way. Add to EACH (!) monters MY_DIYNG handler which lvlups or refuses crystal. But somebody told me that there is another way - SA crystal have it own ai... How it possible i dont understand
no, my idea is that mobs gives some item x and that with those items x but the crystal lvl 1, npc changes it by lvl 2, to size q rises lvl of the crystal to have q to join but items x
hmm, just an one more crazy idea, nothing more
look, client have this skill
skill_id=2096 skill_level=1 skill_name=[Soul Crystal] desc=[none]
skill_id=2097 skill_level=1 skill_name=[Sowing] desc=[Attempts to sow onto a monster.]
skill_id=2097 skill_level=2 skill_name=[Sowing] desc=[Attempts to sow onto a monster.]
skill_id=2097 skill_level=3 skill_name=[Sowing] desc=[Attempts to sow onto a monster.]
skill_id=2098 skill_level=1 skill_name=[Sowing] desc=[Attempts to harvest from a monster's corpse.]
if this skills what I`m thinking, then:
add 2097 skill for soul crystals (depending on it levels) and make this crystals work as scroll (but I dont know how prevent disapear :)
When your fight, in nessesary moment use crystal on monster, at monster AI handler SEE_SPELL check for skill, set the flag and in MY_DYING handler do something good/bad ;)
if not, just ignore my message
hmm, just an one more crazy idea, nothing more
look, client have this skill
skill_id=2096 skill_level=1 skill_name=[Soul Crystal] desc=[none]
skill_id=2097 skill_level=1 skill_name=[Sowing] desc=[Attempts to sow onto a monster.]
skill_id=2097 skill_level=2 skill_name=[Sowing] desc=[Attempts to sow onto a monster.]
skill_id=2097 skill_level=3 skill_name=[Sowing] desc=[Attempts to sow onto a monster.]
skill_id=2098 skill_level=1 skill_name=[Sowing] desc=[Attempts to harvest from a monster's corpse.]
if this skills what I`m thinking, then:
add 2097 skill for soul crystals (depending on it levels) and make this crystals work as scroll (but I dont know how prevent disapear :)
When your fight, in nessesary moment use crystal on monster, at monster AI handler SEE_SPELL check for skill, set the flag and in MY_DYING handler do something good/bad ;)
if not, just ignore my message
that skill is the saw/harvesting skill from the manor system ;)
anyway we dont avoid adding ai code to each monster who mast process SA quest... it is too big ))
why each mobs AI? call_super rulez ;)
mast надо писать как must
а мне говорили что mast )))