I need script NPC, who checks quests and give points for that:
Information:
quest=name of quest
storage2=storage which checks, if quest has been rewarded with points
value=Value of quest which is done(Storage)
Information about script:
<Player>Says: 'quests'
(Player has three StorageValues - (11027,1) and (12021,3) and (15012,4), Player also doesn't have storage (31027) and (32021) and (35012))
<NPC>Says: 'You have recently done Banshee Quest, Orc\'s Fire Quest, Goroma Quest. I will reward you with 3 Points.'
Sets player storage value (10011,+3)
Sets player storage value (31027,1) and (32021,1) and (35012,1) which won't let get player points again for these quests.
Information:
storage=storage of quest with for player got points(storage value 10011,+1 for each quest)storage=11027, quest='Banshee Quest', storage2=31027, value=1
storage=12011, quest='Annihilator', storage2=32011, value=1
storage=14011, quest='Banuta Quest', storage2=34011, value=3
storage=13051, quest='Ancient Helmet Quest', storage2=33051, value=1
storage=16021, quest='Barbarian Quest', storage2=36021, value=3
storage=11031, quest='Dreamer Challenge Quest', storage2=31031, value=1
storage=13023, quest='Djinn Quest', storage2=33023, value=3
storage=12021, quest='Orc\'s Fire Quest', storage2=32021, value=3
storage=15036, quest='Cult Quest', storage2=35036, value=1
storage=15012, quest='Goroma Quest', storage2=35012, value=4
quest=name of quest
storage2=storage which checks, if quest has been rewarded with points
value=Value of quest which is done(Storage)
Information about script:
<Player>Says: 'quests'
(Player has three StorageValues - (11027,1) and (12021,3) and (15012,4), Player also doesn't have storage (31027) and (32021) and (35012))
<NPC>Says: 'You have recently done Banshee Quest, Orc\'s Fire Quest, Goroma Quest. I will reward you with 3 Points.'
Sets player storage value (10011,+3)
Sets player storage value (31027,1) and (32021,1) and (35012,1) which won't let get player points again for these quests.