summaryrefslogtreecommitdiff
path: root/npc/magic/guild.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-24 10:22:30 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-24 10:22:30 -0300
commit46c91fc3b4a6f84234117c09b46a76e8e9b41219 (patch)
treef0ba05a04464f0cfa70b9123af2713eb486e78c4 /npc/magic/guild.txt
parent562b1e1a94eda490d956933f78ed6502c87f5496 (diff)
downloadserverdata-46c91fc3b4a6f84234117c09b46a76e8e9b41219.tar.gz
serverdata-46c91fc3b4a6f84234117c09b46a76e8e9b41219.tar.bz2
serverdata-46c91fc3b4a6f84234117c09b46a76e8e9b41219.tar.xz
serverdata-46c91fc3b4a6f84234117c09b46a76e8e9b41219.zip
Prepare 4 new scroll types based on Guild skills.
Level C applies to all friendlies - covering homuns and mercs. Otherwise, Level C and Level B have similar effects, unlike Magnus Heal C
Diffstat (limited to 'npc/magic/guild.txt')
-rw-r--r--npc/magic/guild.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/npc/magic/guild.txt b/npc/magic/guild.txt
index 6eed7c750..39da57092 100644
--- a/npc/magic/guild.txt
+++ b/npc/magic/guild.txt
@@ -53,12 +53,13 @@ Increase HIT of players in the area of effect by +2 per SkillLV. The accuracy ra
*/
-// GD_allboost ( lv )
+// GD_allboost ( lv{, target} )
// Increases all stats
function script GD_allboost {
.@lv=getarg(0, @skillLv);
+ .@t$=getarg(1, "filter_sameguild");
// range, time, SC, BL, power, filter
- areasc(3+.@lv, 40000+(5000*.@lv), SC_INCALLSTATUS, BL_PC, .@lv, "filter_sameguild");
+ areasc(3+.@lv, 40000+(5000*.@lv), SC_INCALLSTATUS, BL_PC, .@lv, .@t$);
return;
}
@@ -67,8 +68,9 @@ function script GD_allboost {
// 12x12 HP and MP recovery
function script GD_regenerating {
.@lv=getarg(0, @skillLv);
+ .@t$=getarg(1, "filter_sameguild");
// range, time, SC, BL, power, filter
- areasc(12, 8000+(1000*.@lv), SC_GDSKILL_REGENERATION, BL_PC, 15+(5*.@lv), "filter_sameguild");
+ areasc(12, 8000+(1000*.@lv), SC_GDSKILL_REGENERATION, BL_PC, 15+(5*.@lv), .@t$);
return;
}
@@ -77,8 +79,9 @@ function script GD_regenerating {
// Places a temporary buff on the user and all party members in a 14x14 area around the user that increases Soft Defense. (VIT def)
function script GD_defboost {
.@lv=getarg(0, @skillLv);
+ .@t$=getarg(1, "filter_sameguild");
// range, time, SC, BL, power, filter
- areasc(4+.@lv, 40000+(5000*.@lv), SC_ANGELUS, BL_PC, .@lv*4, "filter_sameguild");
+ areasc(4+.@lv, 40000+(5000*.@lv), SC_ANGELUS, BL_PC, .@lv*4, .@t$);
return;
}
@@ -87,8 +90,9 @@ function script GD_defboost {
// Places a temporary buff on a single target that increases STR, DEX and INT. (The damage dealing stats)
function script GD_atkboost {
.@lv=getarg(0, @skillLv);
+ .@t$=getarg(1, "filter_sameguild");
// range, time, SC, BL, power, filter
- areasc(4+.@lv, 40000+(5000*.@lv), SC_BLESSING, BL_PC, .@lv, "filter_sameguild");
+ areasc(4+.@lv, 40000+(5000*.@lv), SC_BLESSING, BL_PC, .@lv, .@t$);
return;
}
@@ -97,8 +101,9 @@ function script GD_atkboost {
// Blesses a single target's weapon to increase its attack power
function script GD_atkboost2 {
.@lv=getarg(0, @skillLv);
+ .@t$=getarg(1, "filter_sameguild");
// range, time, SC, BL, power, filter
- areasc(4+.@lv, 40000+(5000*.@lv), SC_IMPOSITIO, BL_PC, 5+(5*.@lv), "filter_sameguild");
+ areasc(4+.@lv, 40000+(5000*.@lv), SC_IMPOSITIO, BL_PC, 5+(5*.@lv), .@t$);
return;
}
@@ -107,8 +112,9 @@ function script GD_atkboost2 {
// Boost the critical hit rate
function script GD_critboost {
.@lv=getarg(0, @skillLv);
+ .@t$=getarg(1, "filter_sameguild");
// range, time, SC, BL, 1, power, filter
- areasc(1+.@lv, 30000+(5000*.@lv), SC_FORTUNE, BL_PC, 8*.@lv, "filter_sameguild");
+ areasc(1+.@lv, 30000+(5000*.@lv), SC_FORTUNE, BL_PC, 8*.@lv, .@t$);
return;
}