浏览代码

- Added a missing 'next' in Kiel Hyre Quest (Medicine Chest).
- Fixed a type in Mjolnir Seal quest (Dwarf Blacksmith#south).
- Fixed wrong parameters in 'areapercentheal'. (bugreport:3428)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13976 54d463be-8e91-2dee-dedb-b68131a5f0ec

brianluau 16 年之前
父节点
当前提交
8be9797841
共有 3 个文件被更改,包括 5 次插入4 次删除
  1. 1 0
      npc/quests/Kiel_Hyre_Quest.txt
  2. 2 2
      npc/quests/seals/mjolnir_seal.txt
  3. 2 2
      src/map/script.c

+ 1 - 0
npc/quests/Kiel_Hyre_Quest.txt

@@ -3049,6 +3049,7 @@ kh_vila,123,170,0	script	Medicine Chest#khp1	111,{
 		mes "ink on the blank piece of paper";
 		mes "with the Kiel Hyre Foundation";
 		mes "seal. Would you like read it?^000000";
+		next;
 		switch(select("No time!:Read")) {
 		case 1:
 			mes "^3355FFYou're running out of";

+ 2 - 2
npc/quests/seals/mjolnir_seal.txt

@@ -1275,7 +1275,7 @@ mjolnir_09,209,341,3	script	Dwarf Blacksmith#south	826,{
 							specialeffect2 EF_CRASHEARTH;
 							set .@p_vit,.@p_vit - 30;
 							mes "You've taken";
-							mes "critical .@damage";
+							mes "critical damage";
 							mes "on your weak spot!";
 							mes "--------------------";
 							mes "" + strcharinfo(0) + " has lost 30 HP!";
@@ -1682,7 +1682,7 @@ mjolnir_09,209,341,3	script	Dwarf Blacksmith#south	826,{
 							specialeffect2 EF_CRASHEARTH;
 							set .@p_vit,.@p_vit - 30;
 							mes "You've taken";
-							mes "critical .@damage";
+							mes "critical damage";
 							mes "on your weak spot!";
 							mes "--------------------";
 							mes "" + strcharinfo(0) + " has lost 30 HP!";

+ 2 - 2
src/map/script.c

@@ -4140,8 +4140,8 @@ BUILDIN_FUNC(areapercentheal)
 	y0=script_getnum(st,4);
 	x1=script_getnum(st,5);
 	y1=script_getnum(st,6);
-	hp=script_getnum(st,8);
-	sp=script_getnum(st,9);
+	hp=script_getnum(st,7);
+	sp=script_getnum(st,8);
 
 	if( (m=map_mapname2mapid(mapname))< 0)
 		return 0;