Jump to content

Recommended Posts

Posted

File Name: Monster Invasion (Top 3)

File Submitter: benching

File Submitted: 07 Feb 2016

File Category: Games, Events, Quests

Content Author: benching


This NPC will summon a given amount monster in a given map
Every time the player kill a monster, he will be given a point
The 3 player that have the highest points will be rewarded
Ranking will reset when the Event is started



Click here to download this file

Posted

took a quick glance on the script.

		if(@mob_ep > .r1po){
			set .rank1_id,getcharid(0);
		}else if(@mob_ep > .r2po){
			set .rank2_id,getcharid(0);
		}else if(@mob_ep > .r3po){
			set .rank3_id,getcharid(0);
		}

doesn't exist the part where the script will update the  3 variables to store latest top rank kill count ?

  • Upvote 1
Posted (edited)

set ep,ep+1;


took a quick glance on the script.

		if(@mob_ep > .r1po){
			set .rank1_id,getcharid(0);
		}else if(@mob_ep > .r2po){
			set .rank2_id,getcharid(0);
		}else if(@mob_ep > .r3po){
			set .rank3_id,getcharid(0);
		}

doesn't exist the part where the script will update the  3 variables to store latest top rank kill count ?

it should be `ep` not `@mob_ep`
thanks /ene

Edited by benching
  • Like 1
  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...