Premium EnKor 42 Posted November 2, 2017 Premium Share Posted November 2, 2017 Hi there, How can i see ammount of exp gain by kill one moob? i need to test something but i cant find that function. ex: quest exp_info begin state start begin when 101.kill begin chat("exp: u kill 101mob and he give u "..pc.get_exp().."") ---- i wanna see the exp he give to me and this way i get total. end end end if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted November 2, 2017 Premium Share Posted November 2, 2017 Config of the core, add TEST_SERVER:1 When you kill a mob, will appear on chat the damage formula with values and also exp you gained from it Link to comment Share on other sites More sharing options...
Premium EnKor 42 Posted November 2, 2017 Author Premium Share Posted November 2, 2017 I get it ty tierri. if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
נσνα 2 Posted November 2, 2017 Share Posted November 2, 2017 Actually TEST_SERVER might enable lots of other features ingame... So if you want just the exp part , you can edit just its function. Link to comment Share on other sites More sharing options...
Premium EnKor 42 Posted November 2, 2017 Author Premium Share Posted November 2, 2017 6 hours ago, נσνα said: Actually TEST_SERVER might enable lots of other features ingame... So if you want just the exp part , you can edit just its function. How? in test_server mode, it work... but i will like to make by quest. But i dont know how. if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
Premium North 1175 Posted November 3, 2017 Premium Share Posted November 3, 2017 12 hours ago, EnKor said: How? in test_server mode, it work... but i will like to make by quest. But i dont know how. just use questflags or the cmd, then you check if it`s 1 then print the info, if it`s 0 then don`t Link to comment Share on other sites More sharing options...
Premium EnKor 42 Posted November 3, 2017 Author Premium Share Posted November 3, 2017 i make the quest. Ty to all if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now