Compare commits
6 Commits
7cd2260d04
...
332a8578bc
| Author | SHA1 | Date |
|---|---|---|
|
|
332a8578bc | |
|
|
059e1bdc37 | |
|
|
27ded1527f | |
|
|
6eee6264cd | |
|
|
33b06fa065 | |
|
|
d249ba230c |
|
|
@ -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": "",
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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('');
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
Loading…
Reference in New Issue