Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KVM battleground should use KVM_Badge(6376) , not War_Badge(7773) #2404

Open
AnnieRuru opened this Issue Mar 12, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@AnnieRuru
Copy link
Contributor

AnnieRuru commented Mar 12, 2019

https://rathena.org/board/topic/118490-bug-in-npcbattlegroundkvmkvm_item_paytxt/

//================= Additional Comments ===================================
//= KvM Does NOT use items, but a character variable to keep track of
//= points. This NPC when talked to will convert already-given tokens and
//= convert them to points under the player variable kvm_point.
//=========================================================================
bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
if (countitem(War_Badge)) {
.@pointstoadd = countitem(War_Badge);
delitem 7773,.@pointstoadd;
kvm_point += .@pointstoadd;
mes("[Logistics]");
mesf("Are those %ss I see?", getitemname(7773));
mes("We no longer accept that currency,\r"
"but I can exchange those for you.");
mesf("So you have %d %ss?", .@pointstoadd, getitemname(7773));
mesf("Alright, all set, you now have ^580080%d^000000 KVM Points.", kvm_point);
next;
}

War_Badge is used by Poring War instead,
this means, player can actually go to Poring War, earn badge there, come to KVM earn free points

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.