Compare commits

...

6 Commits

Author SHA1 Message Date
WildEgo 332a8578bc add: Gaya system. 2025-10-15 11:24:03 +01:00
WildEgo 059e1bdc37 add: Knockback to skill_proto. 2025-10-12 18:24:29 +01:00
WildEgo 27ded1527f add: Missing fields to item table. 2025-10-09 22:43:07 +01:00
WildEgo 6eee6264cd add: Missing mob_proto fields.
change: item_proto magic_pct.
2025-10-09 15:11:45 +01:00
WildEgo 33b06fa065 add: Aura. 2025-10-05 17:57:53 +01:00
WildEgo d249ba230c add: Cheque columns. 2025-10-04 18:17:18 +01:00
8 changed files with 124 additions and 3 deletions

View File

@ -608,7 +608,7 @@
"szCooldownPoly": "15",
"szMasterBonusPoly": "-(atk + 0.2*atk*floor(2+k*6)+ (0.8*atk+dex*8*ar) *k)",
"szAttackGradePoly": "",
"setFlag": "ATTACK,USE_ARROW_DAMAGE",
"setFlag": "ATTACK,USE_ARROW_DAMAGE,KNOCKBACK",
"setAffectFlag": null,
"szPointOn2": "NONE",
"szPointPoly2": "",

View File

@ -30,7 +30,7 @@ return new class extends Migration
$table->unsignedInteger('refined_vnum')->default(0);
$table->unsignedSmallInteger('refine_set')->default(0);
$table->unsignedSmallInteger('refine_set2')->default(0);
$table->tinyInteger('magic_pct')->default(0);
$table->smallInteger('magic_pct')->default(0);
$table->tinyInteger('limittype0')->nullable()->default(0);
$table->integer('limitvalue0')->nullable()->default(0);
$table->tinyInteger('limittype1')->nullable()->default(0);

View File

@ -26,6 +26,18 @@ return new class extends Migration
$table->unsignedInteger('socket3')->default(0);
$table->unsignedInteger('socket4')->default(0);
$table->unsignedInteger('socket5')->default(0);
$table->tinyInteger('apply_path0')->default(0);
$table->smallInteger('apply_value0')->default(0);
$table->tinyInteger('apply_type0')->default(0);
$table->tinyInteger('apply_path1')->default(0);
$table->smallInteger('apply_value1')->default(0);
$table->tinyInteger('apply_type1')->default(0);
$table->tinyInteger('apply_path2')->default(0);
$table->smallInteger('apply_value2')->default(0);
$table->tinyInteger('apply_type2')->default(0);
$table->tinyInteger('apply_path3')->default(0);
$table->smallInteger('apply_value3')->default(0);
$table->tinyInteger('apply_type3')->default(0);
$table->tinyInteger('attrtype0')->default(0);
$table->smallInteger('attrvalue0')->default(0);
$table->tinyInteger('attrtype1')->default(0);

View File

@ -66,6 +66,15 @@ return new class extends Migration
$table->tinyInteger('resist_magic')->default(0);
$table->tinyInteger('resist_wind')->default(0);
$table->tinyInteger('resist_poison')->default(0);
$table->tinyInteger('resist_dark')->default(0);
$table->tinyInteger('resist_ice')->default(0);
$table->tinyInteger('resist_earth')->default(0);
$table->tinyInteger('att_fire')->default(0);
$table->tinyInteger('att_elect')->default(0);
$table->tinyInteger('att_wind')->default(0);
$table->tinyInteger('att_dark')->default(0);
$table->tinyInteger('att_ice')->default(0);
$table->tinyInteger('att_earth')->default(0);
$table->float('dam_multiply', null, 0)->nullable();
$table->integer('summon')->nullable();
$table->integer('drain_sp')->nullable();

View File

@ -30,7 +30,7 @@ return new class extends Migration
$table->string('szCooldownPoly', 100)->default('');
$table->string('szMasterBonusPoly', 100)->default('');
$table->string('szAttackGradePoly', 100)->default('');
$table->set('setFlag', ['ATTACK', 'USE_MELEE_DAMAGE', 'COMPUTE_ATTGRADE', 'SELFONLY', 'USE_MAGIC_DAMAGE', 'USE_HP_AS_COST', 'COMPUTE_MAGIC_DAMAGE', 'SPLASH', 'GIVE_PENALTY', 'USE_ARROW_DAMAGE', 'PENETRATE', 'IGNORE_TARGET_RATING', 'ATTACK_SLOW', 'ATTACK_STUN', 'HP_ABSORB', 'SP_ABSORB', 'ATTACK_FIRE_CONT', 'REMOVE_BAD_AFFECT', 'REMOVE_GOOD_AFFECT', 'CRUSH', 'ATTACK_POISON', 'TOGGLE', 'DISABLE_BY_POINT_UP', 'CRUSH_LONG']);
$table->set('setFlag', ['ATTACK', 'USE_MELEE_DAMAGE', 'COMPUTE_ATTGRADE', 'SELFONLY', 'USE_MAGIC_DAMAGE', 'USE_HP_AS_COST', 'COMPUTE_MAGIC_DAMAGE', 'SPLASH', 'GIVE_PENALTY', 'USE_ARROW_DAMAGE', 'PENETRATE', 'IGNORE_TARGET_RATING', 'ATTACK_SLOW', 'ATTACK_STUN', 'HP_ABSORB', 'SP_ABSORB', 'ATTACK_FIRE_CONT', 'REMOVE_BAD_AFFECT', 'REMOVE_GOOD_AFFECT', 'CRUSH', 'ATTACK_POISON', 'TOGGLE', 'DISABLE_BY_POINT_UP', 'CRUSH_LONG', 'KNOCKBACK']);
$table->enum('setAffectFlag', ['YMIR', 'INVISIBILITY', 'SPAWN', 'POISON', 'SLOW', 'STUN', 'DUNGEON_READY', 'FORCE_VISIBLE', 'BUILDING_CONSTRUCTION_SMALL', 'BUILDING_CONSTRUCTION_LARGE', 'BUILDING_UPGRADE', 'MOV_SPEED_POTION', 'ATT_SPEED_POTION', 'FISH_MIDE', 'JEONGWIHON', 'GEOMGYEONG', 'CHEONGEUN', 'GYEONGGONG', 'EUNHYUNG', 'GWIGUM', 'TERROR', 'JUMAGAP', 'HOSIN', 'BOHO', 'KWAESOK', 'MANASHIELD', 'MUYEONG', 'REVIVE_INVISIBLE', 'FIRE', 'GICHEON', 'JEUNGRYEOK'])->nullable()->default('YMIR');
$table->string('szPointOn2', 100)->default('NONE');
$table->string('szPointPoly2', 100)->default('');

View File

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('player', function (Blueprint $table) {
$table->integer('cheque')->default(0)->after('gold');
});
Schema::table('player_deleted', function (Blueprint $table) {
$table->integer('cheque')->default(0)->after('gold');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('player', function (Blueprint $table) {
$table->dropColumn('cheque');
});
Schema::table('player_deleted', function (Blueprint $table) {
$table->dropColumn('cheque');
});
}
};

View File

@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('item', function (Blueprint $table) {
$table->enum('window', ['INVENTORY', 'EQUIPMENT', 'SAFEBOX', 'MALL', 'DRAGON_SOUL_INVENTORY', 'BELT_INVENTORY', 'AURA_REFINE'])->default('INVENTORY')->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('item', function (Blueprint $table) {
$table->enum('window', ['INVENTORY', 'EQUIPMENT', 'SAFEBOX', 'MALL', 'DRAGON_SOUL_INVENTORY', 'BELT_INVENTORY'])->default('INVENTORY')->change();
});
}
};

View File

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('player', function (Blueprint $table) {
$table->integer('gem')->default(0)->after('gold');
});
Schema::table('player_deleted', function (Blueprint $table) {
$table->integer('gem')->default(0)->after('gold');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('player', function (Blueprint $table) {
$table->dropColumn('gem');
});
Schema::table('player_deleted', function (Blueprint $table) {
$table->dropColumn('gem');
});
}
};