Added code for faction hits in quests
Guess Im on a roll today :wink:
usage : faction(x) where x is the 'id' value from the database table 'npc_faction' thus, it acts like a faction hit, I thought this would be a handy way to do this (only have to remember one value to use multiple times) and still fully customizeable ../zone/parser.cpp :line 941 or thereabouts REPLACE this: Code:
//else if (strstr(strlwr(arglist[0]),"faction")) { Code:
else if (strstr(strlwr(arglist[0]),"faction")) { Now, time to update some content!! |
Hey i recognise that!! Totaly my fault left over from the " , wind32/linux wars =)
Should read thusly Code:
else if (strstr(strlwr(arglist[0]),"faction")) { |
aye, that is true... perhaps both should be used. Its much easier to define a faction 'hit' in the npc_faction database and be able to reuse that 'hit' with one number, rather than a whole set of commands... for me anyway :?
perhaps change my version to command 'factionhit' ?? :D |
All times are GMT -4. The time now is 01:47 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.