pajodex 0 Posted May 20, 2014 (edited) Quite a lot but hope someone will have patience with me =) -if investing in commerce +2Pts and twice per day -if guild successfully defended for that day it will add +5 pts commerce -But guild failed to defend or emperium broke, -5 pts commerce -Every guild that destroys emp from other agits will get +5 pts commerce -Maximum econ pts per guild = 100 -Then investment in commerce is 1m -Also, I would like to add an ::Onboxkilled script in the treasurebox when killed. Sorry for asking a lot. I dont really know where to find these or how to edit this. Edited May 20, 2014 by pajodex Quote Share this post Link to post Share on other sites
0 javierlog08 2 Posted May 21, 2014 (edited) What do you mean when you are talking about commerce points?Are like Cashpoints?I think all this events can be controlled from Hercules-masternpcguildagit_main.txtHercules-masternpcguild2agit_main.txt By Example: // Occupying Guild has been disbanded.OnGuildBreak: if (strnpcinfo(0) == "Gld_Agit_Manager") end; // Kill guardians, disable the Kafra, and set owner to 0. killmonster strnpcinfo(2),"Guardian#"+strnpcinfo(2)+"::OnGuardianDied"; disablenpc "Kafra Staff#"+strnpcinfo(2); set #CASHPOINTS,#CASHPOINTS + 5; // <---- here CASH point gained by break emperium setcastledata strnpcinfo(2),1,0; // Wait before refreshing guild information. sleep 7000; announce "El castillo [" + getcastlename(strnpcinfo(2)) + "] ha sido abandonado por la guild.",0; donpcevent strnpcinfo(0)+"::OnRecvCastle"; end; Edited May 21, 2014 by javierlog08 Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted May 21, 2014 I think this is the label for treasure box OnTreasureDied0 to OnTreasureDied23. Quote Share this post Link to post Share on other sites
Quite a lot but hope someone will have patience with me =)
Share this post
Link to post
Share on other sites