summaryrefslogtreecommitdiff
path: root/npc/other
diff options
context:
space:
mode:
authorevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-04 05:14:29 +0000
committerevera <evera@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-04 05:14:29 +0000
commitc0c9052af58584295406ceb93d4db1016c05bb23 (patch)
tree523f34667d47ce2d8b87b0953ce2e6f878405919 /npc/other
parentaf6ccb5031f502fcdc3e39dbe042cf292443da07 (diff)
downloadhercules-c0c9052af58584295406ceb93d4db1016c05bb23.tar.gz
hercules-c0c9052af58584295406ceb93d4db1016c05bb23.tar.bz2
hercules-c0c9052af58584295406ceb93d4db1016c05bb23.tar.xz
hercules-c0c9052af58584295406ceb93d4db1016c05bb23.zip
Changed requirement for DTS warper to level 60
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7501 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r--npc/other/dts_warper.txt57
1 files changed, 17 insertions, 40 deletions
diff --git a/npc/other/dts_warper.txt b/npc/other/dts_warper.txt
index 4925f6552..33324d756 100644
--- a/npc/other/dts_warper.txt
+++ b/npc/other/dts_warper.txt
@@ -20,7 +20,7 @@
//= = (1<<4) Cool Corp won last election
//= = (1<<5) Kafra won last election
//= = (1<<6) Global Eligibility
-//=Character - dtseligible = eligibility status, 0 not eligible, 1 eligible, 2 eligible & voted, 3 tried for elig.
+//=Character - dtseligible = eligibility status, 0 not eligible yet, 1 eligible, 2 eligible & voted.
//= = (By default, 1/4 chance of being able to vote. set to 1 after having random selection;
//= = not used if $dtsglobalelig == 1)
//=NPC Func. - arg(0) = 0, Cool Event Corp Voting Staff; 1, Kafra Corp Voting Staff
@@ -43,9 +43,9 @@
//= Includes NPCs in Cool Event Corp headquarters
//= Also known as Zondaman in other languages (?)
//= Pretty sure there are more locations I didn't find.
-//= Gives 1/4 chance of being eligible. Real way to be eligible is through
-//= President's Quest, which isn't yet released.
+//= Base level 60 required to vote
//===== Version History: ====================================
+//= 1.8 Changed requirement to lvl 60 [Evera] (7/03/06)
//= 1.7 Fixed bug of DTS_Admin not running by itself [Evera] (7/03/06)
//= 1.6 Removed Duplicates [Silent]
//= 1.5 Mushed voting varialbes into 1 variable. [Evera] (5/29/06)
@@ -203,28 +203,19 @@ lhz_in02.gat,36,274,3 script Cool Event Staff#02 831,{
mes "Voting Staff, please."; //End unofficial text
close;
}
+ if(dtseligible == 0 && baselevel >= 60 || dtseligible == 3 && baselevel >= 60) set dtseligible,1; //Clear previous var of dtseligible,3 being tried for eligibility already
switch(dtseligible){
- case 0:
- set @randapply,rand(3); //Gives random(1/4) chance of being eligible
- switch(@randapply){ //Unofficial, until President's quest is completed
- case 0:
- case 1:
- case 2:
- mes "[Saera]";
- mes "Only a limited number of";
- mes "voters will be chosen, so";
- mes "you can check your voting";
- mes "eligibility at the headquarters";
- mes "of both participating companies.";
- mes "Thank you for your patronage~";
- set dtseligible,3;
- close;
- break;
- case 3:
- set dtseligible,1;
- break;
- default: break;
- }
+ default:
+ mes "[Saera]";
+ mes "Only a limited number of";
+ mes "voters will be chosen, so";
+ mes "you can check your voting";
+ mes "eligibility at the headquarters";
+ mes "of both participating companies.";
+ mes "Thank you for your patronage~";
+ set dtseligible,3;
+ close;
+ break;
case 1:
mes "[Saera]";
mes "It appears that you are";
@@ -241,17 +232,6 @@ lhz_in02.gat,36,274,3 script Cool Event Staff#02 831,{
mes "you for your participation";
close;
break;
- case 3:
- default:
- mes "[Saera]";
- mes "Only a limited number of";
- mes "voters will be chosen, so";
- mes "you can check your voting";
- mes "eligibility at the headquarters";
- mes "of both participating companies.";
- mes "Thank you for your patronage~";
- close;
- break;
}
Lnothx:
@@ -502,10 +482,7 @@ function script F_DTS_Warp {
set $dts,$dts|(1<<0);
set $dts,$dts|(1<<3);
}
- if(dtseligible == 0){ //Gives random(1/4) chance of being eligible
- set @randapply,rand(3); //Unofficial, until President's quest is finished
- if(@randapply == 0) set dtseligible,1;
- }
+ if(dtseligible == 0 && baselevel >= 60 || dtseligible == 3 && baselevel >= 60) set dtseligible,1; //Clear previous var of dtseligible,3 being tried for eligibility already
switch(getarg(0)){
case 0:
cutin "zonda_01",2;
@@ -653,7 +630,7 @@ function script F_DTS_Warp {
goto Lend;
Leligible: //Text displayed if eligible to vote
- if(dtseligible == 3 || dtseligible == 2) goto Lnoteligible; //Var check if voted
+ if(dtseligible == 2) goto Lnoteligible; //Var check if voted
switch(getarg(0)){
case 0:
mes "[Cool Event Corp. Voting Staff]"; //Unofficial text